package org.osomit.sacct.entity;

import org.json.simple.JSONObject;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 *
 * Date: Jul 2, 2009
 */
public class SecureResponse extends Entity {
    private static final long serialVersionUID = -8993064276660077091L;
    public final static String ENTITY_NAME = "SecureResponse";

    public static final String RESPONSE = "response";
    private String response;

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public JSONObject toJSON() {
        JSONObject obj = new JSONObject();
        obj.put(RESPONSE, this.response);

        return obj;
    }
}
